package com.xiaomi.service;


import com.xiaomi.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "userServiceImpl3")
public class UserServiceImpl2 implements UserService {
    // 定义属性
    @Autowired
    private UserDao userDao;

    @Override
    public void login() {
        System.out.println("service层的login方法,userServiceImpl3");
        userDao.login();
    }

    @Override
    public void login_identify(String username) {

    }
}